﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RB.Domain.Models;

namespace RB.Web.Security
{
    /// <summary>
    /// ToDo: Write comment of the class here
    /// </summary>
    [RB.DataAccess.Attributes.QueryName("PermissionGroup")]
    [RB.DataAccess.Attributes.TableName("PermissionGroup")]
    public class PermissionGroup : ICreateLog, IModifyLog
    {
        [System.ComponentModel.DataAnnotations.StringLengthAttribute(20)]
        public string Code { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(20)]
        public string AppCode { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(100)]
        public string Name1 { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(50)]
        public string CreateBy { get; set; }

        public DateTime? CreateTime { get; set; }

        [System.ComponentModel.DataAnnotations.StringLengthAttribute(50)]
        public string ModifyBy { get; set; }

        public DateTime? ModifyTime { get; set; }

        public bool IsDisabled { get; set; }

        public short? Sequence { get; set; }

    }
}
